<template>
    <div id="app">
        <router-view/>
    </div>
</template>

<script>
    import bus from '@/common/eventbus';

    export default {
        name: 'app',
        data() {
            return {}
        },
        components: {},
        created() {
            let _this = this;
            bus.$on("message", function (messageType, messageText) {
                _this.$message({
                    message: messageText,
                    type: messageType
                });
            });
        }
    }
</script>

<style scoped>

</style>